<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="UTF-8" />
		<meta name="author" content="wangbo" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>Document</title>
	</head>
	<body>
		<script>
			// 函数表达式
			let sum = function (a,b) {
				return function (c,d,e) {
					return c+d+e;
				}
			}
			let back = sum(1,2);
			console.log(back)
			let cc = back(1,2,3)
			console.log(cc)
			let dd =sum(1,2)(1,2,3)
			console.log(dd)
			// 一看到(),前边就是函数名
		</script>
	</body>
</html>
